<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>SketchRNN | @magenta/sketch</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">@magenta/sketch</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_sketch_rnn_model_.html">&quot;sketch_rnn/model&quot;</a>
				</li>
				<li>
					<a href="_sketch_rnn_model_.sketchrnn.html">SketchRNN</a>
				</li>
			</ul>
			<h1>Class SketchRNN</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>Main SketchRNN model class.</p>
					</div>
					<p>Implementation of decoder model in <a href="https://arxiv.org/abs/1704.03477">https://arxiv.org/abs/1704.03477</a></p>
					<p>TODO(hardmaru): make a &quot;batch&quot; continueSequence-like method
					that runs fully on GPU.</p>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">SketchRNN</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#info" class="tsd-kind-icon">info</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#numunits" class="tsd-kind-icon">num<wbr>Units</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#pixelfactor" class="tsd-kind-icon">pixel<wbr>Factor</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#scalefactor" class="tsd-kind-icon">scale<wbr>Factor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#copystate" class="tsd-kind-icon">copy<wbr>State</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#dispose" class="tsd-kind-icon">dispose</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#getpdf" class="tsd-kind-icon">getPDF</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#initialize" class="tsd-kind-icon">initialize</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#isinitialized" class="tsd-kind-icon">is<wbr>Initialized</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#linetostroke" class="tsd-kind-icon">line<wbr>ToStroke</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#linestostroke" class="tsd-kind-icon">lines<wbr>ToStroke</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#sample" class="tsd-kind-icon">sample</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#setpixelfactor" class="tsd-kind-icon">set<wbr>Pixel<wbr>Factor</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#simplifyline" class="tsd-kind-icon">simplify<wbr>Line</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#simplifylines" class="tsd-kind-icon">simplify<wbr>Lines</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#update" class="tsd-kind-icon">update</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#updatestrokes" class="tsd-kind-icon">update<wbr>Strokes</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#zeroinput" class="tsd-kind-icon">zero<wbr>Input</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_sketch_rnn_model_.sketchrnn.html#zerostate" class="tsd-kind-icon">zero<wbr>State</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new <wbr>SketchRNN<span class="tsd-signature-symbol">(</span>checkpointURL<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_sketch_rnn_model_.sketchrnn.html" class="tsd-signature-type">SketchRNN</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L121">sketch_rnn/model.ts:121</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p><code>SketchRNN</code> constructor.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>checkpointURL: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>Path to the checkpoint directory.</p>
										</div>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_sketch_rnn_model_.sketchrnn.html" class="tsd-signature-type">SketchRNN</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="info" class="tsd-anchor"></a>
					<h3>info</h3>
					<div class="tsd-signature tsd-kind-icon">info<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_sketch_rnn_model_.sketchrnninfo.html" class="tsd-signature-type">SketchRNNInfo</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L103">sketch_rnn/model.ts:103</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="numunits" class="tsd-anchor"></a>
					<h3>num<wbr>Units</h3>
					<div class="tsd-signature tsd-kind-icon">num<wbr>Units<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L104">sketch_rnn/model.ts:104</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="pixelfactor" class="tsd-anchor"></a>
					<h3>pixel<wbr>Factor</h3>
					<div class="tsd-signature tsd-kind-icon">pixel<wbr>Factor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L106">sketch_rnn/model.ts:106</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="scalefactor" class="tsd-anchor"></a>
					<h3>scale<wbr>Factor</h3>
					<div class="tsd-signature tsd-kind-icon">scale<wbr>Factor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L107">sketch_rnn/model.ts:107</a></li>
						</ul>
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="copystate" class="tsd-anchor"></a>
					<h3>copy<wbr>State</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">copy<wbr>State<span class="tsd-signature-symbol">(</span>rnnState<span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L394">sketch_rnn/model.ts:394</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Returns a new copy of the rnn state</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>rnnState: <a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>original LSTMState</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></h4>
							<p>copy of LSTMState</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="dispose" class="tsd-anchor"></a>
					<h3>dispose</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">dispose<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L199">sketch_rnn/model.ts:199</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getpdf" class="tsd-anchor"></a>
					<h3>getPDF</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">getPDF<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a>, temperature<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, softmaxTemperature<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.strokepdf.html" class="tsd-signature-type">StrokePDF</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L330">sketch_rnn/model.ts:330</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Given the RNN state, returns the probabilty distribution function (pdf)
									of the next stroke. Optionally adjust the temperature of the pdf here.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>state: <a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>previous LSTMState.</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> temperature: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;0.65</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>(Optional) for dx and dy (default 0.65)</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> softmaxTemperature: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>(Optional) for Pi and Pen discrete states
										(default is temperature * 0.5 + 0.5, which is a nice heuristic.)</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_sketch_rnn_model_.strokepdf.html" class="tsd-signature-type">StrokePDF</a></h4>
							<p>StrokePDF (pi, muX, muY, sigmaX, sigmaY, corr, pen)</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="initialize" class="tsd-anchor"></a>
					<h3>initialize</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">initialize<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L187">sketch_rnn/model.ts:187</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Loads variables from the JSON model</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="isinitialized" class="tsd-anchor"></a>
					<h3>is<wbr>Initialized</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Initialized<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L136">sketch_rnn/model.ts:136</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Returns true if model is intialized.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="linetostroke" class="tsd-anchor"></a>
					<h3>line<wbr>ToStroke</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">line<wbr>ToStroke<span class="tsd-signature-symbol">(</span>line<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span>, lastPoint<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L484">sketch_rnn/model.ts:484</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Convert from a line format to stroke-5</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>line: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>list of points [[x0, y0], [x1, y1], ...]</p>
									</div>
								</li>
								<li>
									<h5>lastPoint: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the absolute position of the last point</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h4>
							<p>stroke-5 format of the line, list of [dx, dy, p0, p1, p2]</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="linestostroke" class="tsd-anchor"></a>
					<h3>lines<wbr>ToStroke</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">lines<wbr>ToStroke<span class="tsd-signature-symbol">(</span>lines<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L472">sketch_rnn/model.ts:472</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Convert from polylines to stroke-5 format that sketch-rnn uses</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>lines: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>list of points each elem is ([[x0, y0], [x1, y1], ...])</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h4>
							<p>stroke-5 format of the line, list of [dx, dy, p0, p1, p2]</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="sample" class="tsd-anchor"></a>
					<h3>sample</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">sample<span class="tsd-signature-symbol">(</span>pdf<span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.strokepdf.html" class="tsd-signature-type">StrokePDF</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L418">sketch_rnn/model.ts:418</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Samples the next point of the sketch given pdf parameters</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>pdf: <a href="../interfaces/_sketch_rnn_model_.strokepdf.html" class="tsd-signature-type">StrokePDF</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>result from getPDF() call</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setpixelfactor" class="tsd-anchor"></a>
					<h3>set<wbr>Pixel<wbr>Factor</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Pixel<wbr>Factor<span class="tsd-signature-symbol">(</span>scale<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L220">sketch_rnn/model.ts:220</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Sets the internal EXTRA factor of this model (pixel to model space)</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>scale: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>(the extra scale factor for pixel to model space)</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
							<p>nothing</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="simplifyline" class="tsd-anchor"></a>
					<h3>simplify<wbr>Line</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">simplify<wbr>Line<span class="tsd-signature-symbol">(</span>line<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span>, tolerance<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L449">sketch_rnn/model.ts:449</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Simplifies line using RDP algorithm</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>line: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>list of points [[x0, y0], [x1, y1], ...]</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> tolerance: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>(Optional) default 2.0</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h4>
							<p>simpified line [[x0&#39;, y0&#39;], [x1&#39;, y1&#39;], ...]</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="simplifylines" class="tsd-anchor"></a>
					<h3>simplify<wbr>Lines</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">simplify<wbr>Lines<span class="tsd-signature-symbol">(</span>lines<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span>, tolerance<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L461">sketch_rnn/model.ts:461</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Simplifies lines using RDP algorithm</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>lines: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> tolerance: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>(Optional) default 2.0</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h4>
							<p>simpified lines (each elem is [[x0&#39;, y0&#39;], [x1&#39;, y1&#39;], ...])</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="update" class="tsd-anchor"></a>
					<h3>update</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">update<span class="tsd-signature-symbol">(</span>stroke<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span>, state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L234">sketch_rnn/model.ts:234</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Updates the RNN, returns the next state.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>stroke: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>.</p>
									</div>
								</li>
								<li>
									<h5>state: <a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>previous LSTMState.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></h4>
							<p>next LSTMState.</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="updatestrokes" class="tsd-anchor"></a>
					<h3>update<wbr>Strokes</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">update<wbr>Strokes<span class="tsd-signature-symbol">(</span>strokes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span>, state<span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a>, steps<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L274">sketch_rnn/model.ts:274</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Updates the RNN on a series of Strokes, returns the next state.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>strokes: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>list of [dx, dy, penDown, penUp, penEnd].</p>
									</div>
								</li>
								<li>
									<h5>state: <a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>previous LSTMState.</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> steps: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>(Optional) number of steps of the stroke to update
										(default is length of strokes list)</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></h4>
							<p>the final LSTMState.</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="zeroinput" class="tsd-anchor"></a>
					<h3>zero<wbr>Input</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">zero<wbr>Input<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L407">sketch_rnn/model.ts:407</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Returns the zero input state of the model</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
							<p>.</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="zerostate" class="tsd-anchor"></a>
					<h3>zero<wbr>State</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">zero<wbr>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/sketch/src/sketch_rnn/model.ts#L379">sketch_rnn/model.ts:379</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Returns the zero/initial state of the model</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-signature-type">LSTMState</a></h4>
							<p>zero state of the lstm: [c, h], where c and h are zero vectors.</p>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="../modules/_core_sketch_support_.html">"core/sketch_<wbr>support"</a>
					</li>
					<li class="current tsd-kind-external-module">
						<a href="../modules/_sketch_rnn_model_.html">"sketch_<wbr>rnn/model"</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-external-module">
						<a href="_sketch_rnn_model_.sketchrnn.html" class="tsd-kind-icon">SketchRNN</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#info" class="tsd-kind-icon">info</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#numunits" class="tsd-kind-icon">num<wbr>Units</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#pixelfactor" class="tsd-kind-icon">pixel<wbr>Factor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#scalefactor" class="tsd-kind-icon">scale<wbr>Factor</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#copystate" class="tsd-kind-icon">copy<wbr>State</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#dispose" class="tsd-kind-icon">dispose</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#getpdf" class="tsd-kind-icon">getPDF</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#initialize" class="tsd-kind-icon">initialize</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#isinitialized" class="tsd-kind-icon">is<wbr>Initialized</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#linetostroke" class="tsd-kind-icon">line<wbr>ToStroke</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#linestostroke" class="tsd-kind-icon">lines<wbr>ToStroke</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#sample" class="tsd-kind-icon">sample</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#setpixelfactor" class="tsd-kind-icon">set<wbr>Pixel<wbr>Factor</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#simplifyline" class="tsd-kind-icon">simplify<wbr>Line</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#simplifylines" class="tsd-kind-icon">simplify<wbr>Lines</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#update" class="tsd-kind-icon">update</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#updatestrokes" class="tsd-kind-icon">update<wbr>Strokes</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#zeroinput" class="tsd-kind-icon">zero<wbr>Input</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_sketch_rnn_model_.sketchrnn.html#zerostate" class="tsd-kind-icon">zero<wbr>State</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/_sketch_rnn_model_.lstmstate.html" class="tsd-kind-icon">LSTMState</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/_sketch_rnn_model_.sketchrnninfo.html" class="tsd-kind-icon">SketchRNNInfo</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/_sketch_rnn_model_.strokepdf.html" class="tsd-kind-icon">StrokePDF</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>